package com.sanbi.shield.common.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 键名对
 *
 * @author XiaoQingqing
 * @since 2024/03/07
 * @param <K> 键类型
 * @param <N> 名称类型
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class KeyNamePair<K,N> implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 键
     */
    private K key;
    /**
     * 名称
     */
    private N name;
}
